<%--
  Created by IntelliJ IDEA.
  User: 10379
  Date: 2020/9/28
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">

    <title>Typography</title>

    <link href="${pageContext.request.contextPath}/static/css/style.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/css/style-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="${pageContext.request.contextPath}/static/js/html5shiv.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="sticky-header" style="background-color:#E4E7EA">

<section>
    <!-- main content start-->
        <!--body wrapper start-->
        <section class="wrapper">
            <!-- page start-->

            <div class="row">
                <div class="col-md-8">
                    <section class="panel">
                        <header class="panel-heading">
                           欢迎您: <input type="text" id="teacherName" readonly  unselectable="on"  style="border:none;"/>
                            <span class="tools pull-right">
                            <a class="fa fa-chevron-down" href="javascript:;"></a>

                            <a class="fa fa-times" href="javascript:;"></a>
                         </span>
                        </header>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-md-6">
                                    <h3>个人资料</h3>
<%--                                    <h1>h1. Heading 1</h1>--%>
<%--                                    <h2>h2. Heading 2</h2>--%>
<%--                                    <h3>h3. Heading 3</h3>--%>
                                    <h4>年龄：22</h4>
                                    <h4>性别：男</h4>
                                    <h4>籍贯：四川 成都</h4>
                                    <h4>工作地点：成都市金牛区华清远见</h4>
                                    <h4>婚姻状态：未婚</h4>
                                    <h4>政治面貌：党员</h4>
                                    <h4>爱好：打篮球 敲代码</h4>
                                    <br>
                                    <hr>
                                    <h3>项目经验：</h3>
                                        <h4>2012-2013：xxxx教务系统</h4>
                                        <h4>2014-2016：xxxx管理系统</h4>
<%--                                    <h5>h5. Heading 5</h5>--%>
<%--                                    <h6>h6. Heading 6</h6>--%>
                                </div>
                                <div class="col-md-6">
                                    <h3>Texts</h3>
                                    <p class="muted">
                                        Donec ullamcorper nulla non metus auctor fringilla.
                                    </p>
                                    <p class="text-warning">
                                        Etiam porta sem malesuada magna mollis euismod.
                                    </p>
                                    <p class="text-danger">
                                        Donec ullamcorper nulla non metus auctor fringilla.
                                    </p>
                                    <p class="text-info">
                                        Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
                                    </p>
                                    <p class="text-success">
                                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
                                    </p>
                                    <p class="text-danger">
                                        Donec ullamcorper nulla non metus auctor fringilla.
                                    </p>
                                    <p class="text-info">
                                        Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
                                    </p>
                                    <p class="text-success">
                                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
                                    </p><p class="text-danger">
                                    Donec ullamcorper nulla non metus auctor fringilla.
                                </p>
                                    <p class="text-info">
                                        Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
                                    </p>
                                    <p class="text-success">
                                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
                                    </p><p class="text-danger">
                                    Donec ullamcorper nulla non metus auctor fringilla.
                                </p>
                                    <p class="text-info">
                                        Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
                                    </p>
                                    <p class="text-success">
                                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
                                    </p>
                                </div>

                            </div>
                            <hr>
                        </div>
                    </section>
                </div>
                <div class="col-md-4">
                    <div class="row">
                        <div class="col-md-12">
                            <section class="panel">
                                <header class="panel-heading">
                                    个人荣誉： <span class="text-muted">简略</span>
                                    <span class="tools pull-right">
                                    <a class="fa fa-chevron-down" href="javascript:;"></a>

                                    <a class="fa fa-times" href="javascript:;"></a>
                                 </span>
                                </header>
                                <div class="panel-body">
                                    <ul>
                                        <li>
                                            10岁攻破国家安全系统
                                        </li>
                                        <li>
                                            Consectetur adipiscing elit
                                        </li>
                                        <li>
                                            Integer molestie lorem at massa
                                        </li>
                                        <li>
                                            Facilisis in pretium nisl aliquet
                                        </li>
                                        <li>
                                            Nulla volutpat aliquam velit
                                            <ul>
                                                <li>
                                                    Phasellus iaculis neque
                                                </li>
                                                <li>
                                                    Purus sodales ultricies
                                                </li>
                                                <li>
                                                    Vestibulum laoreet porttitor sem
                                                </li>
                                                <li>
                                                    Ac tristique libero volutpat at
                                                </li>
                                            </ul>
                                        </li>
                                        <li>
                                            Faucibus porta lacus fringilla vel
                                        </li>
                                        <li>
                                            Aenean sit amet erat nunc
                                        </li>
                                        <li>
                                            Eget porttitor lorem
                                        </li>
                                    </ul>
                                </div>
                            </section>

                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <section class="panel">
                                <header class="panel-heading">
                                    教学安排： <span class="text-muted">短期</span>
                                    <span class="tools pull-right">
                            <a class="fa fa-chevron-down" href="javascript:;"></a>

                            <a class="fa fa-times" href="javascript:;"></a>
                         </span>
                                </header>
                                <div class="panel-body">
                                    <ol>
                                        <li>
                                            先放两天假
                                        </li>
                                        <li>
                                            Consectetur adipiscing elit
                                        </li>
                                        <li>
                                            Integer molestie lorem at massa
                                        </li>
                                        <li>
                                            Facilisis in pretium nisl aliquet
                                        </li>
                                        <li>
                                            Nulla volutpat aliquam velit
                                        </li>
                                        <li>
                                            Faucibus porta lacus fringilla vel
                                        </li>
                                        <li>
                                            Aenean sit amet erat nunc
                                        </li>
                                        <li>
                                            Eget porttitor lorem
                                        </li>
                                    </ol>
                                </div>
                            </section>
                        </div>
                    </div>
                </div>
            </div>
            <!-- page end-->
        </section>
        <!--body wrapper end-->

        <!--footer section start-->
        <footer>
            2020 &copy; AdminEx by GroupSeven
        </footer>
        <!--footer section end-->
</section>

<!-- Placed js at the end of the document so the pages load faster -->
<script src="${pageContext.request.contextPath}/static/js/jquery-1.10.2.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/jquery-migrate-1.2.1.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/modernizr.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/jquery.nicescroll.js"></script>

<!--common scripts for all pages-->
<script src="${pageContext.request.contextPath}/static/js/scripts.js"></script>
<script>
    $(function () {
        teacherId = ${teacherId};
        getNowSubject(teacherId);
    })
    function getNowSubject(teacherId) {
        $.ajax({
            url: "${pageContext.request.contextPath}/teacher/getOneTeacher",
            type: 'get',
            data: {"teacherId": teacherId},//传递课程id
            dataType: 'json',
            success: function (result) {
                if (result.code == 0) {
                    $("#teacherName").val(result.teacher.name);
                     getCollege(result.teacher.collegeId);
                }
            },
            error: function (err) {
                alert(err.message);
            }
        })
    }
    function getCollege(collegeId) {
        $.ajax({
           /* url: "${pageContext.request.contextPath}/subject/getOneSubject",
            type: 'get',
            data: {"subjectId": subjectId},//传递课程id
            dataType: 'json',
            success: function (result) {
                if (result.code == 0) {
                    $("#subjectName").val(result.subject.name);
                    getClasses(result.subject.subjectId);
                }
            },
            error: function (err) {
                alert(err.message);
            }*/
        })
    }
</script>
</body>
</html>


